//
//  RecommendTableViewCell.m
//  Cartoon
//
//  Created by dllo on 15/10/28.
//  Copyright © 2015年 YSZ. All rights reserved.
//

#import "RecommendTableViewCell.h"
#import "PrefixHeader.pch"
#import "RecommendCollectionViewCell.h"
#import "Recommend1.h"



@implementation RecommendTableViewCell



- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        
        self.bigImage = [[UIImageView alloc] init];
        self.titleLabel = [[UILabel alloc] init];

        
        [self.contentView addSubview:_bigImage];
        [self.contentView addSubview:_titleLabel];
        

        
        
    }
    return self;
}

- (void)layoutSubviews
{
    [super layoutSubviews];


    
    _titleLabel.frame = CGRectMake(10 *WIDTH, HEIGHT*  10 , 150 * WIDTH, 30 * HEIGHT);
    _titleLabel.font = [UIFont systemFontOfSize:20];
    _titleLabel.textColor = [UIColor colorWithRed:13 / 255.0 green:184 / 255.0 blue: 240 / 255.0 alpha:1];
    _bigImage.frame = CGRectMake(0, 40 * HEIGHT,  CellWIDTH,  130 * HEIGHT);
    

}







- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
